//
//  AXFRecordAndRuleCell.m
//  BEEQUICK
//
//  Created by admin on 21/11/2016.
//  Copyright © 2016 SevenGroup. All rights reserved.
//

#import "AXFRecordAndRuleCell.h"

@implementation AXFRecordAndRuleCell

- (void)setupUI {
	self.backgroundColor = UIColor.whiteColor;
	
	UIImageView *imgView = [[UIImageView alloc] init];
	UILabel *label = [[UILabel alloc] init];
	
	label.font = [UIFont systemFontOfSize:12];
	label.textColor = [UIColor cz_colorWithHex:0x999999];
	
	[self.contentView addSubview:imgView];
	[self.contentView addSubview:label];
	
	[imgView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.centerX.offset(0);
		make.top.offset(9);
	}];
	
	[label mas_makeConstraints:^(MASConstraintMaker *make) {
		make.centerX.equalTo(imgView);
		make.top.equalTo(imgView.mas_bottom).offset(11);
		make.bottom.offset(-11);
	}];
	
	_imgView = imgView;
	_label = label;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
